﻿@model JT.WEB.Models.Were.TbWuPinInfo
@{
    ViewData["Title"] = "物品-修改";
}


<div class="row">
    <div class="col-md-4">
        <form method="post" asp-action="WuPinEdit">
            <div asp-validation-summary="ModelOnly" class="text-danger"></div>
            <div class="form-group">
                <label asp-for="NameClassNavigation.NameClass" class="control-label"></label>
                <select asp-for="NameClassId" class="form-control" asp-items="ViewBag.NameClass"></select>
                <span asp-validation-for="NameClassNavigation.NameClass" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="ItemName" class="control-label"></label>
                <input asp-for="ItemName" class="form-control" />
                <span asp-validation-for="ItemName" class="text-danger"></span>
            </div>

            <div class="form-group">
                <label asp-for="CStandard" class="control-label"></label>
                <input asp-for="CStandard" class="form-control" />
                <span asp-validation-for="CStandard" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="Inventory" class="control-label"></label>
                <input asp-for="Inventory" class="form-control" />
                <span asp-validation-for="Inventory" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="UnitName" class="control-label"></label>
                <input asp-for="UnitName" class="form-control" />
                <span asp-validation-for="UnitName" class="text-danger"></span>
            </div>
            <div class="form-group">
                <label asp-for="UnitPrice" class="control-label"></label>
                <input asp-for="UnitPrice" class="form-control" />
                <span asp-validation-for="UnitPrice" class="text-danger"></span>
            </div>
            <div class="form-group">
             <input asp-for="Recorder" hidden="hidden"/>
            </div>
            <div class="form-group">
                <input type="hidden" asp-for="NameId" />
                <input type="submit" value="保存" class="btn btn-outline-success" />
            </div>
        </form>
    </div>
</div>

<div>
    <a asp-action="WuPinIndex">返回物品管理列表</a>
</div>

@section Scripts {
    @{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}
